package com.jxb.api;

import org.springframework.stereotype.Component;

@Component   //必须交给spring 管理
public class FallbackOrderFeignService implements OrderFeignService {
    @Override
    public String findOrderByUserId(Integer userId) {
        return "=======服务降级了========";
    }
}